﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace Animals
{
    class Program
    {
        static void Main(string[] args)
        {
            Animal pesho = new Animal("pesho", "kentavyr");
            pesho.NameChanged +=new AnimalNameChangedEventHandler(Animal.Animal_NameChanged);

            pesho.Name = "gosho";
        }
    }
}
